package com.maple.common.usbManger;

public enum UsbConnectStateEnum {
    Usb_Connect_Disconnect(0),//连接
    Usb_Connect_Connect(1);//断开
    private int index;
    public int getIndex() {
        return index;
    }


    UsbConnectStateEnum(int i) {
        index=i;
    }
    public static UsbConnectStateEnum valueOf(int index) {
        switch (index) {
            case 0:
                return Usb_Connect_Disconnect;
            case 1:
                return Usb_Connect_Connect;

        }
        return Usb_Connect_Disconnect;
    }
}
